package com.smart.village.big.screen.mapper;

import com.alibaba.fastjson.JSONObject;
import com.smart.village.big.screen.domain.BluePlateInformation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AgricultureMapper {
    List<JSONObject> getNaturalResourcesBSMCoords(String townNumber, String villageNumber,String naturalResourceUsageSerialNumber, String naturalResourceTypeSerialNumber);
    List<JSONObject> getNaturalResourcesCoords(String townNumber, String villageNumber,String naturalResourceUsageSerialNumber, String naturalResourceTypeSerialNumber);
    List<JSONObject> getIndustrialStructureStatics(String year,String townNumber, String villageNumber);

    int getSubsidyInformationPolicyCnt(String year);
    int getSubsidyInformationPolicyArea(String year, String townNumber, String villageNumber);
    int getSubsidyInformationMainBodyCnt(String year, String townNumber, String villageNumber);
    List<JSONObject> getSubsidyInformationBottomList(String year, String townNumber, String villageNumber);


    List<JSONObject> getProjectInformationTarget(String year, String townNumber, String villageNumber);

    List<JSONObject> getProjectInformationList(String year, String townNumber, String villageNumber);

    List<JSONObject> getNaturalResourcesConfirmationRights(String townNumber, String villageNumber);

    List<JSONObject> getBaseDistrictCoordsList(String districtNumber,String type);

    List<JSONObject> getSubsidyPolicyType();

    List<JSONObject> getCropCategory();

    List<JSONObject> getNaturalResourcesPolicy(String townNumber, String villageNumber);
    List<BluePlateInformation> getAgriculturalMachineryPolicy(String townNumber, String villageNumber);

    List<JSONObject> getCropCategoryCoords(String cropCategorySerialNumber, String townNumber, String villageNumber);

    List<JSONObject> getDeviceCoords(String monitoringEquipmentSerialNumber, String townNumber, String villageNumber);

    List<JSONObject> getMonitorDeviceCategory();

    List<JSONObject> getCropInfoByCategoryAndLandSerialNumber(String cropCategorySerialNumber, String naturalResourceSerialNumber);

    List<JSONObject> getPolicyType1InfoByCategoryAndLandSerialNumber(String policyTypeSerialNumber, String naturalResourceSerialNumber);

    List<JSONObject> getPolicyType2InfoByCategoryAndLandSerialNumber(String policyTypeSerialNumber, String bluePlateSerialNumber);

    List<JSONObject> getResourceUsageList();
}
